﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Decorator
{
    public class ConcreteDecoratorB:Decorator
    {
        private void AddedBehavior() 
        {
            Console.WriteLine("具体装饰对象B的操作");
        }

        public override void Operation()
        {
            base.Operation();
            AddedBehavior();
        }
    }
}
